def myround(x, prec=2, base=.5):
    return round(base * round(float(x)/base), prec)
